package condition;

import base.Engine;
import base.Piece;

public abstract class CastleRule {
	private Engine engine;
	
	public CastleRule(Engine engine) {
		this.engine = engine;
	}
	
	public Engine getEngine() {
		return this.engine;
	}
	
	public abstract boolean isValidCastle(Piece piece);
}
